<?php
/* 
 * class.menu.php
 * 获取管理目录菜单
 * @version 0.1
 * @author samuel
 * @date 2009-05-07
 */
class menu {
    
    private $core;
    private $menu;

    function __construct(){
        $this->core = $GLOBALS['CORE'];
        $menu_inc = INCLUDE_PATH . "menu.inc.php";
        if(!file_exists($menu_inc)) die('无法加载目录配置！');
        include_once $menu_inc;
        $this->menu = $_MENU;
    }

    function getMenu(){
        return $this->menu;
    }

}
?>
